<?php $marks  = 45;if($marks > 75){  echo "HNS";}if($marks >= 60 && $marks < 75){  echo "FIRST";}if($marks >= 50 && $marks < 60){  echo "SECOND";}if($marks >= 40 && $marks < 50){  echo "THIRD";}if($marks < 40){  echo "FAIL";}